//package com.monitor.app_monitor.service.impl;
//
//import com.monitoring.exportercollect.model.Config.AppInfo;
//import com.monitoring.exportercollect.service.MonitorService;
//import com.monitoring.exportercollect.service.quartz.utils.HttpClientUtil;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Service;
//
//import java.util.HashMap;
//import java.util.Map;
//
///**
// * @ClassName EsMonitor.java
// * @Author ning
// * @Description TODO
// * @CreateTime 2021年11月26日 15:59:00
// */
//
//@Service("nginxMonitor")
//@Slf4j
//public class NginxMonitor implements MonitorService {
//    @Override
//    public int receiveCode(AppInfo appInfo) {
//        Map<String,String> auth = new HashMap<>();
//        int result = HttpClientUtil.doGet(appInfo.getMonitorUrl(),auth);
//        return result;
//    }
//}
